﻿/*
* CRM_Customer.cs
*
* 功 能： N/A
* 类 名： CRM_Customer
*
* Ver    变更日期             负责人     变更内容
* ───────────────────────────────────
* V1.0  2016-02-29 11:53:22    黄润伟    
*
* Copyright © 2015 www.xhdcrm.com All rights reserved.
*┌──────────────────────────────────┐
*│　版权所有：小黄豆                      　　　　　　　　　　　　　　│
*└──────────────────────────────────┘
*/
using System;
namespace XHD.Model
{
    /// <summary>
    /// CRM_Customer:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class CRM_Customer
    {
        public CRM_Customer()
        { }
        #region Model
        private string _id;
        private string _serialnumber;
        private string _cus_name;
        private string _cus_add;
        private string _cus_tel;
        private string _cus_email;
        private string _cus_fax;
        private string _cus_website;
        private string _cus_industry_id;
        private string _provinces_id;
        private string _city_id;
        private string _cus_type_id;
        private string _cus_level_id;
        private string _cus_source_id;
        private string _descripe;
        private string _remarks;
        private string _emp_id;
        private string _contactsname;
        private int? _isprivate;
        private DateTime? _lastfollow;
        private string _xy;
        private string _cus_extend;
        private int? _isdelete;
        private DateTime? _delete_time;
        private int? _ismark;
        private int? _state;

        private string _create_id;
        private DateTime? _create_time;

        private string _xhs_website;
        private string _xhs_nickname;
        private int _xhs_guanzhu;
        private int _xhs_fun;
        private int _xhs_collect;
        private int _xhs_notes;
        private decimal _xhs_offer;
        private DateTime? _xhs_datatime;
        private decimal _xhs_tandian;
        private DateTime? _xhs_tandiantime;
        private string _xhs_code;
        private string _xhs_category;
        private bool _xhs_isPartner;

        private string _wx_username;
        private string _xhs_alipay;

        private string _xhs_label;
        private string _xhs_cuskind;
        /// <summary>
        /// 
        /// </summary>
        public string id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Serialnumber
        {
            set { _serialnumber = value; }
            get { return _serialnumber; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string cus_name
        {
            set { _cus_name = value; }
            get { return _cus_name; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string cus_add
        {
            set { _cus_add = value; }
            get { return _cus_add; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string cus_tel
        {
            set { _cus_tel = value; }
            get { return _cus_tel; }
        }

        /// <summary>
		/// 邮箱
		/// </summary>
		public string cus_email
        {
            set { _cus_email = value; }
            get { return _cus_email; }
        }

        /// <summary>
        /// 
        /// </summary>
        public string cus_fax
        {
            set { _cus_fax = value; }
            get { return _cus_fax; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string cus_website
        {
            set { _cus_website = value; }
            get { return _cus_website; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string cus_industry_id
        {
            set { _cus_industry_id = value; }
            get { return _cus_industry_id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Provinces_id
        {
            set { _provinces_id = value; }
            get { return _provinces_id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string City_id
        {
            set { _city_id = value; }
            get { return _city_id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string cus_type_id
        {
            set { _cus_type_id = value; }
            get { return _cus_type_id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string cus_level_id
        {
            set { _cus_level_id = value; }
            get { return _cus_level_id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string cus_source_id
        {
            set { _cus_source_id = value; }
            get { return _cus_source_id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string DesCripe
        {
            set { _descripe = value; }
            get { return _descripe; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Remarks
        {
            set { _remarks = value; }
            get { return _remarks; }
        }

        /// <summary>
        /// 联系人
        /// </summary>
        public string contactsname
        {
            set { _contactsname = value; }
            get { return _contactsname; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string emp_id
        {
            set { _emp_id = value; }
            get { return _emp_id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? isPrivate
        {
            set { _isprivate = value; }
            get { return _isprivate; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? lastfollow
        {
            set { _lastfollow = value; }
            get { return _lastfollow; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string xy
        {
            set { _xy = value; }
            get { return _xy; }
        }

        public string cus_extend
        {
            set { _cus_extend = value; }
            get { return _cus_extend; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? isDelete
        {
            set { _isdelete = value; }
            get { return _isdelete; }
        }
        /// <summary>
        /// 是否已经拜访  默认为0  已拜访1
        /// </summary>
        public int? _isMark
        {
            set { _ismark = value; }
            get { return _ismark; }
        }
        /// <summary>
        /// 状态，默认0  1 为公共客户池
        /// </summary>
        public int? State
        {
            set { _state = value; }
            get { return _state; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? Delete_time
        {
            set { _delete_time = value; }
            get { return _delete_time; }
        }

        /// <summary>
        /// 
        /// </summary>
        public string create_id
        {
            set { _create_id = value; }
            get { return _create_id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? create_time
        {
            set { _create_time = value; }
            get { return _create_time; }
        }

        public string xhs_website { set { _xhs_website = value; } get { return _xhs_website; } }
        public string xhs_nickname { set { _xhs_nickname = value; } get { return _xhs_nickname; } }
        public int xhs_guanzhu { set { _xhs_guanzhu = value; } get { return _xhs_guanzhu; } }
        public int xhs_fun { set { _xhs_fun = value; } get { return _xhs_fun; } }
        public int xhs_collect { set { _xhs_collect = value; } get { return _xhs_collect; } }
        public int xhs_notes { set { _xhs_notes = value; } get { return _xhs_notes; } }
        public decimal xhs_offer { set { _xhs_offer = value; } get { return _xhs_offer; } }
        public DateTime? xhs_datatime { set { _xhs_datatime = value; } get { return _xhs_datatime; } }
        public decimal xhs_tandian { set { _xhs_tandian = value; } get { return _xhs_tandian; } }
        public DateTime? xhs_tandiantime { set { _xhs_tandiantime = value; } get { return _xhs_tandiantime; } }
        public string xhs_code { set { _xhs_code = value; } get { return _xhs_code; } }
        public string xhs_category { set { _xhs_category = value; } get { return _xhs_category; } }

        public string wx_username { set { _wx_username = value; } get { return _wx_username; } }

        public bool xhs_isPartner { set { _xhs_isPartner = value; } get { return _xhs_isPartner; } }
        public string xhs_alipay { set { _xhs_alipay = value; } get { return _xhs_alipay; } }
        public string xhs_label { set { _xhs_label = value; } get { return _xhs_label; } }
        public string xhs_cuskind { set { _xhs_cuskind = value; } get { return _xhs_cuskind; } }
        #endregion Model

    }
}

